package com.hoshiicloud.goods.param.goods;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
* <p>
* 查询商品规格_值参数
* </p>
* @author zhangshuhu
* @since 2019-06-04
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询商品规格_值", description="查询商品规格_值")
public class GoodsSpecificationsValuesQueryParam extends PageParam {


    @ApiModelProperty(value = "规格id")
    @NotNull(message = "商品规格ID不能为空")
    private Long specId;

    @ApiModelProperty(value = "规格值")
    private String value;

    @ApiModelProperty(value = "值类别")
    private Long valueType;

    @ApiModelProperty(value = "规格值名称")
    private String name;

}
